package edu.uwosh.cs342.project4;

import java.util.List;

//Basic storage Object for a generic place of interest
public class Place {
	String name;
	String address;
	String icon;
	List geo;
	List type;
	String id;
	String phone_number;
	
	public Place(String ID, String name, String address, String iconURL, List geo, List type, String phone)
	{
		this.name = name;
		this.address = address;
		this.icon = iconURL;
		this.geo = geo;
		this.type = type;
		this.id = ID;
		phone_number = phone;
	}
	public String getID()
	{
		return id;
	}
	
	public String getName()
	{
		return name;
	}
	public String getAddress()
	{
		return address;
	}
	public String getIcon()
	{
		return icon;
	}
	public String getPhone()
	{
		return phone_number;
	}
	public List getGeo()
	{
		return geo;
	}
	public List getType()
	{
		return type;
	}
	public void print(){
		System.out.println("id = " + id);
		System.out.println("name = " + name);
		System.out.println("text = " + address);
		System.out.println("icon = " + icon);
		System.out.println("geo = " + geo.get(0) + "      " + geo.get(1));
		System.out.println("type = " + type.toString());
		System.out.println("address = " +  address);
		System.out.println("phone = " + phone_number);
	}
}
